package sunflower.config.mybatis;

import org.apache.ibatis.plugin.Interceptor;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @description:
 * @author: TanJingyu
 * @create: 2021-09-30 16:36
 **/
@Configuration(proxyBeanMethods = false)
public class InterceptorConfiguration {

    @Bean
    public Interceptor userInterceptor() {
        return new UserInterceptor();
    }
}
